package com.room.search.service.dto.city;

import java.io.Serializable;
import java.util.List;

/**
 * By   : ghd.bright
 * Time : 2022/1/13
 * Description: 查询所以的城市信息返回DTO
 */
public class SearchCityListDTO implements Serializable {

    private Long id;
    private String countryName;
    private String adm1Name;
    private String adm2Name;
    private String adm1NameEN;
    private String cityInitial;
    private String lng;
    private String lat;
    private List<RoomSecondCityListDTO> secondCityListDTOS;

    public SearchCityListDTO(Long id, String countryName, String adm1Name, String adm2Name, String adm1NameEN, String cityInitial,String lng,String lat) {
        this.id = id;
        this.countryName = countryName;
        this.adm1Name = adm1Name;
        this.adm2Name = adm2Name;
        this.adm1NameEN = adm1NameEN;
        this.cityInitial = cityInitial;
        this.lng = lng;
        this.lat = lat;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public String getAdm1Name() {
        return adm1Name;
    }

    public void setAdm1Name(String adm1Name) {
        this.adm1Name = adm1Name;
    }

    public String getAdm2Name() {
        return adm2Name;
    }

    public void setAdm2Name(String adm2Name) {
        this.adm2Name = adm2Name;
    }

    public String getAdm1NameEN() {
        return adm1NameEN;
    }

    public void setAdm1NameEN(String adm1NameEN) {
        this.adm1NameEN = adm1NameEN;
    }

    public String getCityInitial() {
        return cityInitial;
    }

    public void setCityInitial(String cityInitial) {
        this.cityInitial = cityInitial;
    }

    public List<RoomSecondCityListDTO> getSecondCityListDTOS() {
        return secondCityListDTOS;
    }

    public SearchCityListDTO setSecondCityListDTOS(List<RoomSecondCityListDTO> secondCityListDTOS) {
        this.secondCityListDTOS = secondCityListDTOS;
        return this;
    }

    public String getLng() {
        return lng;
    }

    public SearchCityListDTO setLng(String lng) {
        this.lng = lng;
        return this;
    }

    public String getLat() {
        return lat;
    }

    public SearchCityListDTO setLat(String lat) {
        this.lat = lat;
        return this;
    }


    @Override
    public String toString() {
        return "SearchCityListDTO{" +
            "id=" + id +
            ", countryName='" + countryName + '\'' +
            ", adm1Name='" + adm1Name + '\'' +
            ", adm2Name='" + adm2Name + '\'' +
            ", adm1NameEN='" + adm1NameEN + '\'' +
            ", cityInitial='" + cityInitial + '\'' +
            ", lng='" + lng + '\'' +
            ", lat='" + lat + '\'' +
            ", secondCityListDTOS=" + secondCityListDTOS +
            '}';
    }
}
